package main

import (
	"fmt"
)

func main() {
	list := []int{100,223,312,43,54,65}
	key := selectlargest(list,list[0],len(list)-1)
	fmt.Println(key)
}

//与实现for循环方法思想差不多，用flag代替取索引值的方法
func selectlargest(items []int,largest int,flag int) int{
	return 0
}